//
//  DoubleColorBettingViewController.h
//  WangLottery
//
//  Created by 黄修勇 on 12-4-25.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BaseBettingViewController.h"
#import "BellButton.h"
#import "BellContentView.h"


@interface DoubleColorBettingViewController : BaseBettingViewController<UIScrollViewDelegate>{

    NSMutableArray *buleBellArray;
    NSMutableArray *redBellArray;
    NSMutableArray *bellButtonArray;
}

@property (nonatomic,retain)IBOutlet UIScrollView *selectBellScrollView;
@property (nonatomic,retain)IBOutlet UIScrollView *contentView;
@property (nonatomic,retain)IBOutlet UIPageControl *pageControl;
@property (nonatomic,retain)IBOutlet UIView *buttonBackView;

@property (nonatomic,readonly)NSInteger maxSelectRedNumber;
@property (nonatomic,readonly)NSInteger maxSelectBlueNumber;

@property (nonatomic,readonly)NSInteger minSelectRedNumber;
@property (nonatomic,readonly)NSInteger minSelectBlueNumber;

@property (nonatomic,retain)NSString *firstSelectViewTitle;
@property (nonatomic,retain)NSString *secoundSelectViewTitle;
@property (nonatomic,retain)IBOutlet UIButton *selectTitleBtn;

//Bell 按钮点击函数

-(void)bellDone:(BellButton *)bellBtn;

-(IBAction)pageDone:(id)sender;

-(IBAction)selectBtnDone:(id)sender;



-(BOOL)addSelectBellByNumber:(NSInteger)number isRed:(BOOL)isRed;

-(BOOL)removeSelectBellByNumber:(NSInteger)number isRed:(BOOL)isRed;

-(BOOL)checkSelectIsOk;

@end
